<?php
  define('TITLE' , 'BIGPOINT SOCIAL NETWORK ADMINISTRATOR');
  define('LANG', 'tr');
  define('TOKEN','TOKEN! ');
  
  include "func.php";
  include "sql_class.php";
  
  /*
  * Connect DB for MySQL
  */
  $db = new D3Sql();
  $db->baglan('localhost','root','');
  $db->dbsec('big');
  
  $db->sql(" SET NAMES UTF8 ");
  
  /*
  * İnclude All Class
  */ 
  include "class.user.php";
  include "class.fb.php";
  include "class.group.php";
  include "class.msg.php";
  include "class.Log.php";
  
  include "facebook.php";
  
  /*
  * User Class
  */
  $userClass = new user($db);
  
  /*
  * Log Classes
  */
  $log = new ProcessLog($db);
  
  /**
  * Modules
  */
  include "modules.php";

  $fb_config = array(
					  'appId' => '320344008071574',
					  'secret' => '4b1a235b05ab8cd56cdb5b8d087b348a',
					  'fileUploadSupport' => true,
					  'cookie' => true
					);
  $facebook = new Facebook($fb_config);  
  
  $facebook->setAccessToken(TOKEN);
?>